package com.sandy.demo.jpa;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AuthPermissionRepository extends JpaRepository<AuthPermission, String> {
    AuthPermission findFirstByPermissionId(String id);
    boolean existsByPermissionName(String name);
}
